package com.china08.yxyapi.repository.db;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.china08.yxyapi.entity.db.sws.SwsSettingDomains;

public interface SwsSettingDomainsRepository extends JpaRepository<SwsSettingDomains, String> {

    List<SwsSettingDomains> findBySchoolId(String schoolId);

    Integer countByDomainName(String domainName);

    SwsSettingDomains findById(String id);

    SwsSettingDomains findByDomainName(String domainName);

    List<SwsSettingDomains> findByDomainNameIsNotNull();

}
